$fira-code-prefix: "https://cdn.jsdelivr.net/npm/firacode@6.2.0/distr/";

@font-face {
  font-family: "Fira Code";
  src:
    url($fira-code-prefix + "woff2/FiraCode-Light.woff2") format("woff2"),
    url($fira-code-prefix + "woff/FiraCode-Light.woff") format("woff");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Fira Code";
  src:
    url($fira-code-prefix + "woff2/FiraCode-Regular.woff2") format("woff2"),
    url($fira-code-prefix + "woff/FiraCode-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Fira Code";
  src:
    url($fira-code-prefix + "woff2/FiraCode-Medium.woff2") format("woff2"),
    url($fira-code-prefix + "woff/FiraCode-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Fira Code";
  src:
    url($fira-code-prefix + "woff2/FiraCode-SemiBold.woff2") format("woff2"),
    url($fira-code-prefix + "woff/FiraCode-SemiBold.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Fira Code";
  src:
    url($fira-code-prefix + "woff2/FiraCode-Bold.woff2") format("woff2"),
    url($fira-code-prefix + "woff/FiraCode-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Fira Code VF";
  src:
    url($fira-code-prefix + "woff2/FiraCode-VF.woff2") format("woff2-variations"),
    url($fira-code-prefix + "woff/FiraCode-VF.woff") format("woff-variations");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
